package io.renren.modules.lucky.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel(value = "招财猫埋点上报")
public class LuckyReportDto implements Serializable {
    private static final long serialVersionUID = -6050266906731010693L;

    @ApiModelProperty(value = "unionKey")
    private String unionKey;

    @ApiModelProperty(value = "页面session")
    private String sessionId;

    @ApiModelProperty(value = "当前URL")
    private String currentUrl;

    @ApiModelProperty(value = "上一个URL")
    private String refererUrl;

    @ApiModelProperty(value = "手机号")
    private String phone = "";

    @ApiModelProperty(value = "ip")
    private String ip;

    @ApiModelProperty(value = "运营商")
    private String isp;

    @ApiModelProperty(value = "省份")
    private String province;

    @ApiModelProperty(value = "地市")
    private String city;

    @ApiModelProperty(value = "区县")
    private String district;

    @ApiModelProperty(value = "点位 1-用户离开；2-办理失败；3-办理成功")
    private Integer pointNum = 2;

    @ApiModelProperty(value = "媒体ID，默认为空")
    private String mediaId;

    @ApiModelProperty(value = "业务接口失败编码")
    private String errCode;

    @ApiModelProperty(value = "业务接口失败原因")
    private String errMsg;

    @ApiModelProperty(value = "时间戳")
    private String timestamp;

    @ApiModelProperty(value = "加密字符串, unionKey+timestamp, PKCS7加密")
    private String sign;
}
